home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13196 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.4 KB

  1. Path: athos.cc.bellcore.com!news
  2. From: eanderso@attila.stevens-tech.edu (Eric L. Anderson)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: How do I use BC++ DLL in VB and share global vars?
  5. Date: Thu, 21 Mar 1996 22:29:46 GMT
  6. Organization: Bellcore
  7. Message-ID: <4isajb$8l0@athos.cc.bellcore.com>
  8. References: <4hfpgd$t31@ixnews3.ix.netcom.com>
  9. Reply-To: eanderso@attila.stevens-tech.edu
  10. NNTP-Posting-Host: 128.96.51.205
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. faulkne1@ix.netcom.com(George R Faulkner ) wrote:
  14.  
  15. >#1. Share variables and entire arrays between the C++ DLL
  16. >and the Visual Basic EXE.  I'm not just talking about
  17. >passing the variables as parameters, I mean sharing
  18. >them.  The variables should be global variables, both
  19. >in the DLL and in the VB EXE.
  20. >#2. Retain the values of global variables and arrays
  21. >in the DLL between function calls from the EXE
  22. >#3. Have a DLL routine to draw graphics to a specific
  23. >VB form or control, specified by the VB EXE
  24.  
  25. >Anybody know how to do these, if they can be done?
  26. >Anybody have any work-arounds if these cannot
  27. >be done?  Please respond my e-mail, I don't
  28. >read this newsgroup very much.
  29.  
  30. I've been working on a project with the same idea (front end in Visual
  31. Basic and algorithms in a C++ dll) and if anyone has information on a
  32. way to share variables between the two besides passing them in
  33. parameters I would be very interested as well.  You could either email
  34. me or respond in this newsgroup.
  35.  
  36. Eric
  37.  
  38.  
  39.